<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:replace="~{include/head::head}"></head>
<body>
<div th:replace="~{include/head::topbar}"></div>
<div class="container">
    <div class="col-md-8">

    </div>
    <div class="col-md-4">
        <div class="panel panel-default">
            <div class="panel-heading">用户登陆</div>
            <div class="panel-body">
                <form method="post" th:action="@{/public/login}">
                    <div class="form-group">
                        <label for="exampleInputEmail1">用户名</label>
                        <input type="text" name="user" class="form-control" id="exampleInputEmail1" placeholder="用户名">
                    </div>
                    <div class="form-group">
                        <label for="exampleInputPassword1">密码</label>
                        <input type="password" name="pass" class="form-control" id="exampleInputPassword1" placeholder="密码">
                    </div>
                    <div class="checkbox">
                        <label>
                            <input type="checkbox"> 记住我
                        </label>
                    </div>
                    <button type="submit" class="btn btn-default">登录</button>
                    <a th:href="@{/public/register}">没有账号？去注册</a>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>